<template>
	<view class="bg-white margin-tb">
		<view class="padding">用户名：{{info.user}}</view>
		<view class="padding">请求路径：{{info.path}}</view>
		<view class="padding">请求访问：{{info.method}}</view>
		<view class="padding">请求主机：{{info.host}}</view>
		<view class="padding">请求来源：{{info.referrer || '无'}}</view>
		<view class="padding text-wrap">客户端：{{info.userAgent}}</view>
		<view class="padding">请求时间：{{info.createTime}}</view>
	</view>
</template>

<script>
export default {
	onLoad: function(option) {
		this.info = JSON.parse(decodeURIComponent(option.info || '{}'));
	},
	onShow: function() {},
	onReady: function() {},
	onReachBottom: function() {},
	data() {
		return {
			info: {}
		};
	},
	methods: {
		//
	}
}
</script>

<style lang="scss" scoped>
</style>
